instance_score_settings
Configuration for Device Score Setting resource.
Read/write properties
indicator_value<String>
Indicator Value.
thresholds<instance_score_threshold[]>
Thresholds associated with a device score indicator.
indicator<String>
Property or indicator name.
indicator_notifications_enabled<String>
Flag to check if notifications are enabled.
indicator_category<String>
Category of indicator.
Operations
NOTE: In request payload, Mandatory parameters are marked red and bold.
The following parameters can be used in the nitro request :
onerror <String_value>
Use this parameter to set the onerror status for nitro request. Applicable only for bulk requests.
Default value: EXIT
Possible values = EXIT, CONTINUE
URL:https://<MGMT-IP>/nitro/v2/config/instance_score_settings
Query-parameters:
filter
https://<MGMT-IP>/nitro/v2/config/instance_score_settings?filter=property-name1:property-value1,property-name2:property-value2
Use this query-parameter to get the filtered set of instance_score_settings resources configured on the system. You can set a filter on any property of the resource.
pagesize=#no&pageno=#no
https://<MGMT-IP>/nitro/v2/config/instance_score_settings?pagesize=#no&pageno=#no
Use this query-parameter to get the instance_score_settings resources in chunks.
count
https://<MGMT-IP>/nitro/v2/config/instance_score_settings?count=yes
Use this query-parameter to get the count of instance_score_settings resources.
HTTPS Method:GET
Request Headers:
Accept:application/json
X-NITRO-USER:username_value<String>
X-NITRO-PASS:password_value<String>
or
Cookie:NITRO_AUTH_TOKEN=token_value<String>
Response:
HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx
Response Headers:
Content-Type:application/json
Response Payload:JSON
{ "errorcode": 0, "message": "Done", "severity": <String_value>, "instance_score_settings":[{
"indicator_value":<String_value>,
"thresholds":[{
"indicator_low":<Double_value>,
"id":<String_value>,
"indicator":<String_value>,
"indicator_high":<Double_value>,
"persistent_factor":<Double_value>,
"platform":<String_value>,
"indicator_weight":<Double_value>,
"instance_type":<String_value>}],
"indicator":<String_value>,
"indicator_notifications_enabled":<String_value>,
"indicator_category":<String_value>}]}
URL:https://<MGMT-IP>/nitro/v2/config/instance_score_settings/
HTTPS Method:PUT
Request Headers:
Content-Type:application/json
X-NITRO-USER:username_value<String>
X-NITRO-PASS:password_value<String>
or
Cookie:NITRO_AUTH_TOKEN=token_value<String>
Request Payload:JSON
{"instance_score_settings":{
"indicator_notifications_enabled":<String_value>,
"indicator":<String_value>,
"indicator_value":<String_value>,
"indicator_category":<String_value>,
"thresholds":[{
"indicator":<String_value>,
"platform":<String_value>,
"indicator_high":<Double_value>,
"id":<String_value>,
"instance_type":<String_value>,
"indicator_weight":<Double_value>,
"indicator_low":<Double_value>,
"persistent_factor":<Double_value>}]}}
Response:
HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx
Response Payload:JSON
{ "errorcode": 0, "message": "Done", "severity": <String_value>, "instance_score_settings":[{
"indicator_value":<String_value>,
"thresholds":[{
"indicator_low":<Double_value>,
"id":<String_value>,
"indicator":<String_value>,
"indicator_high":<Double_value>,
"persistent_factor":<Double_value>,
"platform":<String_value>,
"indicator_weight":<Double_value>,
"instance_type":<String_value>}],
"indicator":<String_value>,
"indicator_notifications_enabled":<String_value>,
"indicator_category":<String_value>}]}